package server.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName blood_inbound
 * @author Galaxy
 */
@TableName(value ="blood_inbound")
@Data
public class BloodInbound implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    /**
     * 入库单据号
     */
    @TableField(value = "number")
    private String number;

    /**
     * 入库批次号
     */
    @TableField(value = "batch_number")
    private Long batchNumber;

    /**
     * 血站发血单号
     */
    @TableField(value = "blood_number")
    private Integer bloodNumber;

    /**
     * 自编流水号
     */
    @TableField(value = "serial_number")
    private String serialNumber;

    /**
     * 血液来源
     */
    @TableField(value = "blood_source")
    private String bloodSource;

    /**
     * 入库日期
     */
    @TableField(value = "inbound_time")
    private Date inboundTime;

    /**
     * 血液信息JSON
     */
    @TableField(value = "blood_message")
    private Object bloodMessage;

    /**
     * 操作者
     */
    @TableField(value = "operator")
    private String operator;

    /**
     * 操作人工号
     */
    @TableField(value = "operator_id")
    private Long operatorId;

    /**
     * 血液金额
     */
    @TableField(value = "blood_money")
    private BigDecimal bloodMoney;

    /**
     * 删除标记（0未删除，1删除）
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 血液信息表中的id
     */
    @TableField(value = "blood_id")
    private String bloodId;

    @TableField(exist = false)
    private static final long serialVersionUID = -5079977180009398830L;
}